package com.feng.boot.api.singleton;

/**
 * @author Lee
 */
public class SingleTon5 {

    private static SingleTon5 INSTANCE;

    private SingleTon5(){}

    public static SingleTon5 getInstance(){
        if (INSTANCE == null) {
            synchronized (SingleTon5.class){
                if (INSTANCE == null) {
                    INSTANCE = new SingleTon5();
                }
            }
        }
        return INSTANCE;
    }
}
